Toggle navigation
Bootsnipp
Bootstrap
For
CSS Frameworks
Bootstrap
Foundation
Semantic UI
Materialize
Pure
Bulma
References
CSS Reference
Tools
Community
Page Builder
Form Builder
Button Builder
Icon Search
Dan's Tools
Diff / Merge
Color Picker
Keyword Tool
Web Fonts
.htaccess Generator
Favicon Generator
Site Speed Test
Snippets
Featured
Tags
By Bootstrap Version
4.1.1
4.0.0
3.3.0
3.2.0
3.1.0
3.0.3
3.0.1
3.0.0
2.3.2
Register
Login
"Image Hover Zoom"
Bootstrap 3.0.0 Snippet by
Siddharth Panchal
3.0.0
hover
Preview
HTML
CSS
View Full Screen
Fork
Fork this
9.7K
 
5 Fav
Post to Facebook
Tweet this
<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <html lang="en"> <head> <title>Bootstrap Example</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"> <link href='https://fonts.googleapis.com/css?family=Roboto:100,400,300,500,700' rel='stylesheet' type='text/css'> </head> <body> <div align="center" class="fond"> <div class="title">CSS HOVER ZOOM EFFECT</div> <div style="width:1000px;margin-top:50px;margin-bottom:50px;"> <div class="style_prevu_kit" style="background-color:#5C3A7E;"></div> <div class="style_prevu_kit" style="background-color:#f8b334;"></div> <div class="style_prevu_kit" style="background-color:#97bf0d;"></div> <div class="style_prevu_kit" style="background-color:#2578B4;"></div> <div class="style_prevu_kit" style="background-color:#FD443A;"></div> </div> </div> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script> </body> </html>
.title{text-shadow:1px 1px 1px #000;padding:5px;color:#b5e6e3;font-weight:300;font-size:30px;font-family:'Roboto';padding-top:20px;} .title:hover{-webkit-transition: all 300ms ease-in;-ms-transition: all 300ms ease-in;-moz-transition: all 300ms ease-in;transition: all 300ms ease-in;font-size:35px;} .fond{position:absolute;padding-top:85px;top:0;left:0; right:0;bottom:0;background: -moz-linear-gradient(90deg, #02AAB0 0%, #00CDAC 100%);background: -webkit-linear-gradient(90deg, #02AAB0 0%, #00CDAC 100%);background: -o-linear-gradient(90deg, #02AAB0 0%, #00CDAC 100%);background: -ms-linear-gradient(90deg, #02AAB0 0%, #00CDAC 100%);background: linear-gradient(90deg, #02AAB0 0%, #00CDAC 100%);} .style_prevu_kit{display:inline-block;border:0;width:196px;height:210px;position: relative;-webkit-transition: all 300ms ease-in;-webkit-transform: scale(1);-ms-transition: all 300ms ease-in;-ms-transform: scale(1);-moz-transition: all 300ms ease-in;-moz-transform: scale(1);transition: all 300ms ease-in;transform: scale(1);} .style_prevu_kit:hover{box-shadow: 0px 0px 150px #000000;z-index: 2;-webkit-transition: all 300ms ease-in;-webkit-transform: scale(1.5);-ms-transition: all 300ms ease-in;-ms-transform: scale(1.5);-moz-transition: all 300ms ease-in;-moz-transform: scale(1.5);transition: all 300ms ease-in;transform: scale(1.5);border-radius: 500px;}
Questions / Comments:
Post
Posting Guidelines
Formatting
- Now
×
Close
Donate
BTC: 12JxYMYi6Vt3mx3hcmP3B2oyFiCSF3FhYT
ETH: 0xCD715b2E3549c54A40e6ecAaFeB82138148a6c76